<template>
  <div id="app">
  	<h1>{{msg}}</h1>
	<ul class="nav">
		<li><router-link to="/">首页</router-link></li>
		<li><router-link to="/pageNews">单个分页演示</router-link></li>
		<li><router-link to="/pageInfo">使用说明</router-link></li>
	</ul>
	<div>
		<router-view></router-view>
	</div>
  </div>
</template>

<script>
export default {
  name: 'app',
  data () {
    return {
      msg: '分页组件：diVuePagination '
    }
  }
}
</script>

<style>
#app {
  font-family: 'Avenir', Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
  margin-top: 60px;
}
.nav{ height:40px;line-height:40px; font-size:30px;}
.nav li{float:left; margin:0 10px;}
</style>
